第9步:让我们设定第二个可能的响应!

  • 将新的 .say() 中的字符串更改为 "Outcome unclear. Ask again later."
  • 通过点击 运行 直到 rand_answer 等于 2 ,来测试 if 语句。Tim应该说“结果不清楚,稍后再询问”。

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)